<?php
/**
 * @author BlueWhale
 * @copyright 2013
 * Phan menu ben trai the hien muc co trong khoa hoc
 */
?>

				<section aria-label="Course Navigation" class="course-index">
					<div role="tablist" class="ui-accordion ui-widget ui-helper-reset" id="accordion" style="">
						<nav>
							<div class="chapter is-open">    
								<h3 tabindex="0"id="ui-accordion-accordion-header-0" class="active ui-accordion-header ui-helper-reset ui-state-default ui-accordion-icons ui-accordion-header-active ui-state-active ui-corner-top"><span class="ui-accordion-header-icon ui-icon ui-icon-triangle-1-s"></span>
									<a href="#">Giới thiệu</a>
								</h3>

    							<ul id="ui-accordion-accordion-panel-0" style="display: block;" class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active">
									<li class=" ">
										<a href="<?php echo base_url()."course_controller/show_fedx_course_overview/".$current_course['course_id'];?>">
										  <p>Giới thiệu</p>
										  <p class="subtitle"></p>
										</a>
									</li>

								</ul>

							</div> 
                            
                            <!--Menu cac tuan, moi tuan coi la 1 bai giang--!>
                            <?php $i = 0;
                                for ($i = 0; $i < $current_course['course_lecture_quan']; $i++) {
                                    if (isset($lectures[$i])) {?>
							<div class="chapter">     
								<h3 tabindex="-1" id="ui-accordion-accordion-header-1" role="tab" class="ui-accordion-header ui-helper-reset ui-state-default ui-accordion-icons ui-corner-all"></span>
									<a href="#">Tuần <?php echo $i+1;?>:&nbsp; <?php echo $lectures[$i]['name']?></a>
								</h3>
								<ul id="ui-accordion-accordion-panel-1" style="display: none;" class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom">
									  <li class=" ">
										<a href="<?php echo base_url()."course_controller/show_all_video/".$lectures[$i]['id'];?>">
										  <p>Video bài giảng</p>
										  <p class="subtitle"></p>
										</a>
									  </li>
									  <li class=" ">
										<a href="<?php echo base_url();?>course_controller/show_excercise/<?php echo $lectures[$i]['id'];?>">
										  <p>Bài tập </p>
										  <p class="subtitle"></p>
										</a>
									  </li>
									  <li class=" ">
										<a href="<?php echo base_url();?>course_controller/upload_excercise/<?php echo $lectures[$i]['id'];?>">
										  <p>Gửi bài tập </p>
                                          <p class="subtitle">Hạn nộp bài tập : <?php echo $lectures[$i]['expire_date_excercise'];?></p>
										</a>
									  </li>
									  <li class=" graded">
										<a href="#">
										  <p>Gợi ý bài tập</p>
								        </a>
									  </li>
								</ul>
							</div>
                            <?php }}?>

						</nav>
					</div>
				</section>
			
   	<!--Jquery-->
    <script type="text/javascript" src="<?php echo base_url();?>js/lms-application.js" charset="utf-8"></script>
    <script type="text/javascript" src="<?php echo base_url();?>js/lms-modules.js" charset="utf-8"></script>
    <script type="text/javascript" src="<?php echo base_url();?>js/lms-courseware.js" charset="utf-8"></script>
